import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)
const username={
  namespaced:true,
  state: {
    name:'',
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
}
const carousel = {
  namespaced:true,
  state: {
    banner:[],
  },
  mutations: {
  },
  actions: {
  },
  modules: {
  }
}
export default new Vuex.Store({
  modules:{
    username:username,
    carousel:carousel,
  }
})
